# Make file for compiling and installing horoscope application By Prince Annan Koomson
#
#

prefix=/usr
SRC = *.c 
OBJ = main.o new.o
Appname = horoscope
$(Appname) : $(OBJ)
	gcc $(OBJ) -o $(Appname)
$(OBJ) : $(SRC)

clean: 
	rm *.o $(Appname)

clearscreen:
	clear


uninstall:
	rm -r $(prefix)/share/horoscope
	
    
install: horoscope
	install -m 0755 horoscope $(prefix)/bin
	mkdir $(prefix)/share/horoscope
	cp -R * $(prefix)/share/horoscope
	#chmod * 0644
	install -m 0644 -d $(prefix)/share/horoscope
	
    
.PHONY: install
